package org.zeqp.chatAI.minio.put;

import io.minio.messages.Item;
import io.minio.messages.Owner;

import java.io.Serializable;
import java.time.ZonedDateTime;

public class ObjectResultInfo implements Serializable {

    /*etag 值*/
    public String etag;
    /*删除标记*/
    public boolean deleteMarker;
    /*对象名称*/
    public String objectName ;
    /*文件长度*/
    public long size;
    /*最后修改时间*/
    public boolean latest;
    /*拥有者 displayName*/
    public String displayName;
    /*拥有者 id */
    public String id ;
    /*上传时间*/
    public ZonedDateTime time;
    /**/
    public String storageClass;
    /*版本号*/
    public String versionId ;


    public ObjectResultInfo(String etag, boolean deleteMarker, String objectName, long size, boolean latest, String displayName, String id, ZonedDateTime time, String storageClass, String versionId) {
        this.etag = etag;
        this.deleteMarker = deleteMarker;
        this.objectName = objectName;
        this.size = size;
        this.latest = latest;
        this.displayName = displayName;
        this.id = id;
        this.time = time;
        this.storageClass = storageClass;
        this.versionId = versionId;
    }

    public String getEtag() {
        return etag;
    }

    public void setEtag(String etag) {
        this.etag = etag;
    }

    public boolean isDeleteMarker() {
        return deleteMarker;
    }

    public void setDeleteMarker(boolean deleteMarker) {
        this.deleteMarker = deleteMarker;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public boolean isLatest() {
        return latest;
    }

    public void setLatest(boolean latest) {
        this.latest = latest;
    }



    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public ZonedDateTime getTime() {
        return time;
    }

    public void setTime(ZonedDateTime time) {
        this.time = time;
    }

    public String getStorageClass() {
        return storageClass;
    }

    public void setStorageClass(String storageClass) {
        this.storageClass = storageClass;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }
}
